package com.internship.dao;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.News;
import com.internship.page.Pagination;

public interface NewsDao {
	public News getNewsById(int Id);
	public List<News>  getNewsList(@Param("DeptCode") String DeptCode ,@Param("Title") String Title ,Pagination page);
	public int addNews(News news);
	public int updateNews(News news);
	public int delNews(@Param("Id") int Id);
	public int delAll(String[] ids);

}
